package com.spring.boot.standard.admin.service;

import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.spring.boot.standard.admin.entity.Codebase;

/**
 * @author qinhao
 * @since Tue Oct 12 16:24:28 CST 2021
 */
public interface CodebaseService {

	public Codebase findById(Integer id);//根据主键获取对象

	public Page<Codebase> findAll(Pageable pageable,Object[] args);//获取分页信息

	public void deleteById(Integer id);//获取分页信息

	public Codebase save(Codebase codebase);//保存数据
	
	public int saveFromList(List<Map<String,String>> list) throws Exception;//导入
	
}